package com.sf.fy.uav.applet.service;

import com.sf.fy.uav.common.request.order.*;
import com.sf.fy.uav.common.response.order.PrintDataResponse;
import com.sf.fy.uav.common.utils.Rs;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author LTQ
 */
public interface OrderService {



    /**
     * 获取可用额度
     *
     * @return
     */
    BigDecimal getAvailableCredit();


    /**
     * 取消订单
     *
     * @param id
     * @param processedBy
     * @return
     */
    Date cancelExpressOrder(@RequestParam String id, String processedBy);

    List<PrintDataResponse> getPrintData(@RequestParam Set<String> tcWaybillNos);
}
